import axios from '../axios'
export default {
    //司机查询分页
    carPage(data:any) {
        return axios.post('/car/page', data)
    },
    //新增设备
    addCar(data:any) {
        return axios.post(`/car/insert`, data)
    },

    //修改设备
    updateCar(data:any) {
        return axios.post(`/car/updateById`, data)
    },

    //删除设备
    delCarById(id:any) {
        return axios.delete( `/car/deleteById/${id}`)
    },

}
  